+2008-02-15 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
+ add the same target atom twice. (#516087, Christian Persch)
+
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooser.c: Add a --backend option.
gtk_target_list_add (list, text_atom, 0, info);
gtk_target_list_add (list, GDK_TARGET_STRING, 0, info);
gtk_target_list_add (list, text_plain_utf8_atom, 0, info);
- gtk_target_list_add (list, text_plain_locale_atom, 0, info);
+ if (!g_get_charset (NULL))
+ gtk_target_list_add (list, text_plain_locale_atom, 0, info);
gtk_target_list_add (list, text_plain_atom, 0, info);
}